home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_2
/
newsdr10.zip
/
NEWSDOOR.DOC
< prev
next >
Wrap
Text File
|
1990-12-19
|
5KB
|
137 lines
NewsDoor v1.0 by Terry Marrs
Copyright (c) 1990
Warranty: I promise that this door will take up space on your hard drive.
I also will promise that I will not be held responsible for any
damage done by this program. If it does damage you computer, most
likely it did mine also so you have gotten your revenge.
System: I wrote this for Remote Access. If you are running anything else,
good luck on getting this running.
Purpose: I wrote this door for several reasons. I did not like having
go through the other news door programs every time I logged on,
even when I had read all the news. This door is set up to cure this
problem. When a user has not read the mail, he is automatically
taken to the NEWSDOOR. If he has read the mail, he does not see the
NEWSDOOR, in fact, it is not even loaded. Setup procedures should
clear up any questions. I do suggest getting a copy of RA_STFLG.ZIP,
or any other mass flag set program to use with this. This is because
a flag is used to specify if a user has read the news or not. If
the flag YOU specify is on, the user is taken to the NEWSDOOR where
he must read the news. When he is done reading the news, NEWSDOOR
turns the NEWS flag off. That way, when the user has read the news,
the automatic menu option used to run NEWSDOOR is skipped.
Install: Follow these steps for easy installment:
1) Create a new directory off of your BBS directory.
Example: C:\ra\NEWSDOOR
2) Unzip the files into that directory.
The files contained in this zip are:
NEWSDOOR.EXE - The executable (as if you didn't know)
NEWSDOOR.CFG - The sample config file(That's a hard one)
NEWSDOOR.DOC - This document(Are you really this stupid?)
3) Edit NEWSDOOR.CFG. The format is as follows.
Line 1 - The number of NEWS items. This program allows
up to 9
Line 2 - The user flag to toggle.
Line 3 - The title of the NEWS item. What the user will see.
Line 4 - The number of seconds to pause before allowing the
user to return to the main NEWS screen.
-->Continue the line 3 and 4 format for all the options<--
-->Refer to the .cfg file for an example. <--
4) In your main BBS directory, create a NEWSDOOR.BAT file.
This .BAT file should read as follows:
cd\ra\news - Or whatever the path to the NEWSDOOR is.
NEWSDOOR.EXE \ra\ <- Make sure to have the trailing backslash.
This is the path to your dorinfo1.def &
EXITINFO.BBS.
5) On your "TOP" menu, insert a new line at the very top. The
very first line should be for the NEWSDOOR. Do what you
normally do with the USER DISPLAY line. Make the Action
a TYPE 7. In the optional data field put:
c:\command.com /c NEWSDOOR.BAT
Leave the HOT KEY as nothing. Make it an AUTOMATIC line.
and finally, turn the flag you wish to use on. You won't need
to mess with the others.
6) Turn on every users NEWS flag. This will automatically take them
to the NEWSDOOR. NEWSDOOR will clear this flag after they
have read all the news. That way, when they have read all the
news, when they logon again, they won't goto the NEWSDOOR.
When you change the news, set all the users flags back on
so they will go to the NEWSDOOR. This is where a mass flag
changer comes in handy.
7) And last but not least, you need to make your news files.
You will need to make a ASCII news file. NEWSDOOR will
search for the .ANS file first, if not found it will load
the .ASC file. (for those of you who don't want to make both)
The ANSI of course can contain ANSI colors and characters.
The ANSI file will need an extension of .ANS and the ASCII
file will need on with .ASC. (Like you couldn't have
figured that out) The file names are formatted as follows:
NWSFILE<Menu Option>.ANS
" .ASC
For Example: The menu option 1 looks like:
[1] Test 1
The file name is
NWSFILE1.ANS
" .ASC
Options: Well, the door has a few things I though you would like to know.
First, it has carrier detecton routines, for the twits.
there are also a few sysop keys.
Alt-C: Initiate chat mode. hit Alt-C when done with chat.
Alt-H: Hangs up on the user..
Alt-S: Shells to Dos.
The Up Arrow: Adds one minute to the users time.
The Down Arrow: Subtracts one minute from the users time.
Finish: Well, that should about do it. If you have any comments, questions,
or suggestions, feel free to send me some NetMail, write me a
letter or give my board a call at 918-445-0454. (170/803)
I have not crippled this program in anyway in order to get you to
register it. I will not grip about how long it took to write.
(cause it didn't take that long). I just ask that if you feel that
this program is worth while that you send me $5. That's not to much
considering what the other guys want. you can reach me by mail at:
Terry Marrs
P.O. Box 404
Okmulgee, Ok.
74447